package/mutt: add gpgme optional dependency

gpgme is supported since 2005 and
4bb5db92a8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-01-30 14:42:44 +01:00 committed by Peter Korsgaard
parent b96a732c76
commit 2312e99499

View File

@ -36,6 +36,15 @@ else
MUTT_CONF_OPTS += --without-idn --without-idn2
endif
ifeq ($(BR2_PACKAGE_LIBGPGME),y)
MUTT_DEPENDENCIES += libgpgme
MUTT_CONF_OPTS += \
--enable-gpgme \
--with-gpgme-prefix=$(STAGING_DIR)/usr
else
MUTT_CONF_OPTS += --disable-gpgme
endif
ifeq ($(BR2_PACKAGE_MUTT_IMAP),y)
MUTT_CONF_OPTS += --enable-imap
else