Subject: [PATCH] gnu: Add birdtray.
From: Andrew Wong <[email-masked]>
To: [email-masked]
Cc: Andrew Wong <[email-masked]>
Date: Wed, 26 Mar 2025 00:36:23 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/mail.scm (birdtray): New variable.

Change-Id: I394befcdff761efe9d58a842ad1bf873d345029f
---
 gnu/packages/mail.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index b7349576be..5245c2d1d1 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -163,6 +163,7 @@ (define-module (gnu packages mail)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages qt)
   #:use-module (gnu packages ragel)
   #:use-module (gnu packages rdf)
   #:use-module (gnu packages readline)
@@ -287,6 +288,35 @@ (define-public anubis
     (home-page "https://www.gnu.org/software/anubis/manual/")
     (license license:gpl3+)))
 
+(define-public birdtray
+  (package
+    (name "birdtray")
+    (version "1.11.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/gyunaev/birdtray")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14vb3lj8129im0d61d5zsgb1fwmsw9977g3abqhnv0bk6qzjsgxf"))))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/gyunaev/birdtray")
+    (inputs (list qtbase-5 qtsvg-5 qtx11extras libx11))
+    (arguments
+     (list
+      #:tests? #f)) ;no test suite.
+    (synopsis "System tray indicator for Thunderbird/Icedove")
+    (description
+     "Birdtray is a free system tray notification for new mail for
+Thunderbird/Icedove.  Its features include an unread mail counter,
+snooze-able new mail notifications, configurable fonts for different
+accounts, a ``quick compose'' function with pre-configured templates,
+and a direct connection to the Thunderbird database, making it
+completely independent from the extension API.")
+    (license license:gpl3+)))
+
 (define-public mailutils
   (package
     (name "mailutils")

base-commit: ce086e31f0f5c78be76fd228dfd7718ff6df584e
-- 
2.48.1