endmenu
menu "Mail"
+source "package/fetchmail/Config.in"
source "package/heirloom-mailx/Config.in"
source "package/libesmtp/Config.in"
source "package/msmtp/Config.in"
--- /dev/null
+config BR2_PACKAGE_FETCHMAIL
+ bool "fetchmail"
+ select BR2_PACKAGE_CA_CERTIFICATES
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ depends on BR2_USE_MMU # fork()
+ help
+ Fetchmail - the mail-retrieval daemon
+ Client daemon to move mail from POP and IMAP to your local computer
+
+ http://sourceforge.net/projects/fetchmail/
--- /dev/null
+################################################################################
+#
+# fetchmail
+#
+################################################################################
+
+FETCHMAIL_VERSION_MAJOR = 6.3
+FETCHMAIL_VERSION_MINOR = 26
+FETCHMAIL_VERSION = $(FETCHMAIL_VERSION_MAJOR).$(FETCHMAIL_VERSION_MINOR)
+FETCHMAIL_SOURCE = fetchmail-$(FETCHMAIL_VERSION).tar.xz
+FETCHMAIL_SITE = http://downloads.sourceforge.net/project/fetchmail/branch_$(FETCHMAIL_VERSION_MAJOR)/
+FETCHMAIL_LICENSE = GPLv2; some exceptions are mentioned in COPYING
+FETCHMAIL_LICENSE_FILES = COPYING
+
+FETCHMAIL_CONF_OPT = \
+ --with-ssl=$(STAGING_DIR)/usr
+
+FETCHMAIL_DEPENDENCIES = \
+ ca-certificates \
+ openssl \
+ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
+
+$(eval $(autotools-package))