Merge pull request #2949 from zorun/master
[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.5.24
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=ftp://ftp.mutt.org/pub/mutt/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_MD5SUM:=7f25d27f3c7c82285ac07aac35f5f0f2
17
18 PKG_LICENSE:=GPL-2.0+
19 PKG_LICENSE_FILES:=GPL
20 PKG_MAINTAINER:=Phil Eichinger <phil@zankapfel.net>
21
22
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/mutt
28 SECTION:=mail
29 CATEGORY:=Mail
30 DEPENDS:=+libopenssl +libncursesw
31 TITLE:=Console mail client
32 URL:=http://www.mutt.org/
33 endef
34
35 define Package/mutt/description
36 Mutt is a small but very powerful text-based mail client for Unix
37 operating systems.
38 endef
39
40 CONFIGURE_ARGS += \
41 --includedir=$(PKG_BUILD_DIR)/. \
42 --oldincludedir=$(PKG_BUILD_DIR)/. \
43 --enable-pop \
44 --enable-imap \
45 --with-ssl \
46 --without-idn
47
48 define Package/mutt/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mutt $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,mutt))