8da33ecb68c890f242bde3c234afd75820a2b630
[feed/packages.git] / mail / mutt / Makefile
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mutt
11 PKG_VERSION:=1.7.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=ftp://ftp.mutt.org/pub/mutt/ \
15 https://bitbucket.org/mutt/mutt/downloads/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_HASH:=1553501687cd22d5b8aaee4dc5a7d9dcf6cc61d7956f6aabaadd252d10cd5ff9
18
19 PKG_LICENSE:=GPL-2.0+
20 PKG_LICENSE_FILES:=GPL
21 PKG_MAINTAINER:=Phil Eichinger <phil@zankapfel.net>
22
23
24 PKG_INSTALL:=1
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/mutt
29 SECTION:=mail
30 CATEGORY:=Mail
31 DEPENDS:=+libopenssl +libncursesw +zlib
32 TITLE:=Console mail client
33 URL:=http://www.mutt.org/
34 endef
35
36 define Package/mutt/description
37 Mutt is a small but very powerful text-based mail client for Unix
38 operating systems.
39 endef
40
41 CONFIGURE_ARGS += \
42 --includedir=$(PKG_BUILD_DIR)/. \
43 --oldincludedir=$(PKG_BUILD_DIR)/. \
44 --enable-pop \
45 --enable-imap \
46 --with-ssl \
47 --without-idn
48
49 define Package/mutt/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mutt $(1)/usr/bin/
52 endef
53
54 $(eval $(call BuildPackage,mutt))