--- systray-x-0~git20260825.721b586.orig/debian/changelog
+++ systray-x-0~git20260825.721b586/debian/changelog
@@ -0,0 +1,153 @@
+systray-x (0~git20260825.721b586-0) unstable; urgency=low
+
+  * Update to 0.9.12
+
+    - Bugfix: update new/unread count when deleting mail using non-API
+      counting
+    - Bugfix: fix API count method when not using new mail indicator
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Tue, 25 Aug 2026 20:00:00 +0100
+
+systray-x (0.9.11-1) unstable; urgency=low
+
+  * Update to 0.9.11
+
+    - New message composer from system tray menu
+    - TB 136+ fixes
+    - Bugfix: new indicator shade settings
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Wed, 12 Mar 2025 21:51:00 +0100
+
+systray-x (0.9.10-1) unstable; urgency=low
+
+  * Update to 0.9.10
+
+    - Bugfix: new mail indicator reset
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Mon, 05 Aug 2024 19:40:00 +0100
+
+systray-x (0.9.9-1) unstable; urgency=low
+
+  * Update to 0.9.9
+
+    - Qt 6 fixes
+    - TB 121+ fixes
+    - Added window positions correction option
+    - Bugfixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Tue, 27 Apr 2024 16:00:00 +0100
+
+systray-x (0.9.8-1) unstable; urgency=low
+
+  * Update to 0.9.8
+
+    - Fixed / refactored multi window handling
+    - Added an option to add a shortcut key for show / hide
+    - Bugfixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sun, 10 Dec 2023 13:24:00 +0100
+
+systray-x (0.9.7-1) unstable; urgency=low
+
+  * Update to 0.9.7
+
+    - Added option for new TB115 mail counting (slow with new mails enabled)
+    - Bugfixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sun, 12 Nov 2023 11:12:00 +0100
+
+systray-x (0.9.6-1) unstable; urgency=low
+
+  * Update to 0.9.6
+
+    - Added option to show a new mail indicator or icon shading
+    - Added option to launch an app on start and close
+    - Refactored windows state handling
+    - Refactored mail counting
+    - Bugfixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sun, 28 Oct 2023 12:25:00 +0100
+
+systray-x (0.9.5-1) unstable; urgency=low
+
+  * Update to 0.9.5
+
+    - Bugfixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sun, 06 Aug 2023 21:00:00 +0100
+
+systray-x (0.9.4-0) unstable; urgency=low
+
+  * Update to 0.9.4
+
+    - Separate minimize, close and icon action
+    - Use new icon for new TB version
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sun, 23 Jul 2023 00:52:00 +0100
+
+systray-x (0.9.3-0) unstable; urgency=low
+
+  * Update to 0.9.3
+
+    - New TB version
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sat, 15 Jul 2023 21:39:00 +0100
+
+systray-x (0.9.2-0) unstable; urgency=low
+
+  * Update to 0.9.2
+
+    - Bug fixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sun, 16 Jul 2022 11:12:00 +0100
+
+systray-x (0.9.1-0) unstable; urgency=low
+
+  * Update to 0.9.1
+
+    - Bug fixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sun, 10 Jul 2022 11:12:00 +0100
+
+systray-x (0.9.0-0) unstable; urgency=low
+
+  * Update to 0.9.0
+
+    - Update for TB 102
+    - Bug fixes
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sat, 03 Jul 2022 23:24:00 +0100
+
+systray-x (0.8.0-0) unstable; urgency=low
+
+  * Update to 0.8.0
+  
+    - Refactor for TB 91
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sat, 02 Oct 2021 14:17:00 +0100
+
+systray-x (0.5.0-0) unstable; urgency=low
+
+  * Update to 0.5.0
+    
+    - Added translations logic
+    - Languages:
+      - de
+      - en_US
+      - nl
+      - pt_BR (by PutinVladimir)
+      - ru_RU (by fabianski7)
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sat, 07 Nov 2020 23:37:00 +0100
+      
+systray-x (0.4.0-0) unstable; urgency=low
+
+  * Update to 0.4.0
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Sat, 10 Oct 2020 14:10:00 +0100
+
+systray-x (0.0.1-0) unstable; urgency=low
+
+  * Initial Release
+
+ -- Maxime Rijnders <ximi.obs@gmail.com>  Tue, 11 Feb 2020 19:05:19 +0100
--- systray-x-0~git20260825.721b586.orig/debian/compat
+++ systray-x-0~git20260825.721b586/debian/compat
@@ -0,0 +1 @@
+10
--- systray-x-0~git20260825.721b586.orig/debian/control
+++ systray-x-0~git20260825.721b586/debian/control
@@ -0,0 +1,22 @@
+Source: systray-x
+Section: misc
+Priority: optional
+Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
+Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qt5-qmake, qtbase5-dev, qtwayland5, qdbus-qt5, libqt5x11extras5-dev, libkf5notifications-dev, thunderbird
+
+Package: systray-x
+Architecture: any
+Depends: ${shlibs:Depends}, thunderbird (>= 1:91)
+Description: SysTray-X is a system tray extension for Thunderbird (KDE).
+ This version is optimized for the KDE desktop.
+ The add-on uses the WebExtension API's to control an external system
+ dependent system tray application.
+ The add-on and system tray application can do:
+  * custom new mail icon
+  * display number of unread /new mails
+  * optional new mail indicator (icon or shading)
+  * run app on start or close
+  * show / hide Thunderbird (minimize)
+  * minimizing hides to tray
+  * minimize on startup
+  * minimize on close
--- systray-x-0~git20260825.721b586.orig/debian/rules
+++ systray-x-0~git20260825.721b586/debian/rules
@@ -0,0 +1,117 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+#export DH_COMPAT=4
+
+CFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+DEB_VENDOR := $(shell dpkg-vendor --query vendor)
+
+VERSION := $(shell cat dist/rpm/VERSION | grep VERSION | sed -e "s/VERSION=\(.*\)/\1/")
+
+VERSION_MAJOR := $(shell echo $(VERSION) | cut -d'.' -f1)
+VERSION_MINOR := $(shell echo $(VERSION) | cut -d'.' -f2)
+VERSION_PATCH := $(shell echo $(VERSION) | cut -d'.' -f3)
+
+BUILD_NUMBER := $(shell cat dist/rpm/VERSION | grep BUILD_NUMBER | sed -e "s/BUILD_NUMBER=\(.*\)/\1/")
+GIT_HASH := $(shell cat dist/rpm/VERSION | grep GIT_HASH | sed -e "s/GIT_HASH=\(.*\)/\1/")
+GIT_BRANCH := $(shell cat dist/rpm/VERSION | grep GIT_BRANCH | sed -e "s/GIT_BRANCH=\(.*\)/\1/")
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|/usr/bin/SysTray-X|' > SysTray_X.json
+
+	QT_SELECT=5 make EXT_VERSION="DEFINES+=EXT_VERSION DEFINES+=APP_VERSION_MAJOR=\\\\\\\\\\\\\\\"$(VERSION_MAJOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_MINOR=\\\\\\\\\\\\\\\"$(VERSION_MINOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_PATCH=\\\\\\\\\\\\\\\"$(VERSION_PATCH)\\\\\\\\\\\\\\\" DEFINES+=APP_BUILD=\\\\\\\\\\\\\\\"$(BUILD_NUMBER)\\\\\\\\\\\\\\\" DEFINES+=APP_GITHASH=\\\\\\\\\\\\\\\"$(GIT_HASH)\\\\\\\\\\\\\\\" DEFINES+=APP_GITBRANCH=\\\\\\\\\\\\\\\"$(GIT_BRANCH)\\\\\\\\\\\\\\\""
+
+	# --- end custom part for compiling
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	make clean || true
+	# --- end custom part for cleaning up
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package
+	# The DESTDIR Has To Be Exactly  /usr/src/packages/BUILD/debian/<nameOfPackage>
+	
+	mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/bin
+	cp -f SysTray-X /usr/src/packages/BUILD/debian/systray-x/usr/bin/SysTray-X
+	
+	mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/mozilla/native-messaging-hosts
+	cp -f SysTray_X.json /usr/src/packages/BUILD/debian/systray-x/usr/lib/mozilla/native-messaging-hosts/SysTray_X.json
+
+ifeq (Debian,$(DEB_VENDOR))
+	mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions
+	cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi
+	mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird/extensions
+	cd  /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird/extensions ;\
+	ln -sf ../../thunderbird-addons/extensions/systray-x@Ximi1970.xpi systray-x@Ximi1970.xpi
+else
+	mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions
+	cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi
+endif
+
+	# --- end custom part for installing
+
+# Build architecture-independent files here.
+binary-indep: build install
+	# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary installing
