mutt: add header caching support via libgdbm

Add header caching option to mutt, using the libgdbm database routines.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
This commit is contained in:
Matthew Hagan 2022-01-04 15:54:17 +00:00 committed by Rosen Penev
parent 8221e9db44
commit bf3fe181af
2 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,11 @@ if PACKAGE_mutt
default n
help
Enables SMTP support in mutt.
config MUTT_HCACHE
bool "Header caching support"
default n
help
Enables header caching support in mutt (using libgdbm).
config MUTT_SASL
bool "SASL support"
default n

View File

@ -30,7 +30,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/mutt
SECTION:=mail
CATEGORY:=Mail
DEPENDS:=+MUTT_GNUTLS:libgnutls +MUTT_OPENSSL:libopenssl +libncursesw +MUTT_SASL:libsasl2 +terminfo +zlib
DEPENDS:=+MUTT_HCACHE:libgdbm +MUTT_GNUTLS:libgnutls +MUTT_OPENSSL:libopenssl +libncursesw +MUTT_SASL:libsasl2 +terminfo +zlib
TITLE:=Console mail client
URL:=http://www.mutt.org/
MENU:=1
@ -47,6 +47,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_MUTT_POP),--enable-pop) \
$(if $(CONFIG_MUTT_IMAP),--enable-imap) \
$(if $(CONFIG_MUTT_SMTP),--enable-smtp) \
$(if $(CONFIG_MUTT_HCACHE),--enable-hcache) \
$(if $(CONFIG_MUTT_SASL),--with-sasl) \
--with-mailpath=/var/mail \
$(if $(CONFIG_MUTT_GNUTLS),--with-gnutls) \