···14, freetype
15, glib
16, gnugrep
17+, gnupg
18, gnused
19+, gpgme
20, icu
21, jemalloc
22, lib
23+, libevent
24, libGL
25, libGLU
026, libjpeg
27, libnotify
28, libpng
···290 rm -rf $out/include $out/lib/thunderbird-devel-* $out/share/idl
291 '';
292293+ # Note on GPG support:
294+ # Thunderbird's native GPG support does not yet support smartcards.
295+ # The official upstream recommendation is to configure fall back to gnupg
296+ # using the Thunderbird config `mail.openpgp.allow_external_gnupg`
297+ # and GPG keys set up; instructions with pictures at:
298+ # https://anweshadas.in/how-to-use-yubikey-or-any-gpg-smartcard-in-thunderbird-78/
299+ # For that to work out of the box, it requires `gnupg` on PATH and
300+ # `gpgme` in `LD_LIBRARY_PATH`; we do this below.
301+302 preFixup = ''
303 # Needed to find Mozilla runtime
304 gappsWrapperArgs+=(
···308 --set SNAP_NAME "thunderbird"
309 --set MOZ_LEGACY_PROFILES 1
310 --set MOZ_ALLOW_DOWNGRADE 1
311+ --prefix PATH : "${lib.getBin gnupg}/bin"
312+ --prefix LD_LIBRARY_PATH : "${lib.getLib gpgme}/lib"
313 )
314 '';
315···338339 requiredSystemFeatures = [ "big-parallel" ];
340341+ meta = with lib; {
342 description = "A full-featured e-mail client";
343 homepage = "https://www.thunderbird.net";
344 maintainers = with maintainers; [