summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Huber <shuber@sthu.org>2021-02-09 22:50:17 +0100
committerNicolas Bock <nicolasbock@gentoo.org>2021-03-10 07:30:50 -0700
commit2a4623f6bf9ff7a3f607840fc4ceef896993ee6c (patch)
tree42c38bbb942ed17cd2a8ee2fca5c7468140cc8ca /mail-client/neomutt/neomutt-99999999.ebuild
parentapp-text/coolreader: bump to 3.2.55 (diff)
downloadgentoo-2a4623f6bf9ff7a3f607840fc4ceef896993ee6c.tar.gz
gentoo-2a4623f6bf9ff7a3f607840fc4ceef896993ee6c.tar.bz2
gentoo-2a4623f6bf9ff7a3f607840fc4ceef896993ee6c.zip
mail-client/neomutt: Add autocrypt use flag
NeoMutt supports autocrypt since version 2019-10-25. It requires gpgme of version 1.8.0 or higher and sqlite. It is recommended that idn or idn2 is enabled according to the manual. The minimum requirement of gpgme of neomutt-20201127.ebuild is increased from 0.9.0 to 1.8.0. This change has no consquence as the minimum available version in portage is 1.14.0. Closes: https://bugs.gentoo.org/769698 Closes: https://github.com/gentoo/gentoo/pull/19392 Signed-off-by: Stefan Huber <shuber@sthu.org> Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
Diffstat (limited to 'mail-client/neomutt/neomutt-99999999.ebuild')
-rw-r--r--mail-client/neomutt/neomutt-99999999.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/mail-client/neomutt/neomutt-99999999.ebuild b/mail-client/neomutt/neomutt-99999999.ebuild
index aec8ac349253..74180642cbc4 100644
--- a/mail-client/neomutt/neomutt-99999999.ebuild
+++ b/mail-client/neomutt/neomutt-99999999.ebuild
@@ -21,9 +21,11 @@ HOMEPAGE="https://neomutt.org/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl
+IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl
lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic
ssl tokyocabinet test"
+REQUIRED_USE="
+ autocrypt? ( gpgme )"
CDEPEND="
app-misc/mime-types
@@ -43,6 +45,7 @@ CDEPEND="
tokyocabinet? ( dev-db/tokyocabinet )
gnutls? ( >=net-libs/gnutls-1.0.17:= )
gpgme? ( >=app-crypt/gpgme-1.13.1:= )
+ autocrypt? ( >=dev-db/sqlite-3 )
idn? ( net-dns/libidn:= )
kerberos? ( virtual/krb5 )
notmuch? ( net-mail/notmuch:= )
@@ -80,6 +83,7 @@ src_configure() {
"$(use_enable nls)"
"$(use_enable notmuch)"
+ "$(use_enable autocrypt)"
"$(use_enable gpgme)"
"$(use_enable pgp-classic pgp)"
"$(use_enable smime-classic smime)"
@@ -145,4 +149,9 @@ pkg_postinst() {
ewarn " and smime-classic (old smime) from your USE-flags and"
ewarn " only enable gpgme."
fi
+
+ if use autocrypt && ! use idn; then
+ ewarn " It is highly recommended that NeoMutt be also configured"
+ ewarn " with idn when autocrypt is enabled."
+ fi
}