mutt: bump version
[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.9.1
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:=749b83a96373c6e2101ebe8c4b9a651735e02c478edb750750a5146a15d91bb1
18
19 PKG_LICENSE:=GPL-2.0+
20 PKG_LICENSE_FILES:=GPL
21 PKG_MAINTAINER:=Phil Eichinger <phil@zankapfel.net>
22
23 PKG_FIXUP:=autoreconf
24
25 PKG_INSTALL:=1
26
27 include $(INCLUDE_DIR)/package.mk
28
29 define Package/mutt
30 SECTION:=mail
31 CATEGORY:=Mail
32 DEPENDS:=+libopenssl +libncursesw +zlib
33 TITLE:=Console mail client
34 URL:=http://www.mutt.org/
35 endef
36
37 define Package/mutt/description
38 Mutt is a small but very powerful text-based mail client for Unix
39 operating systems.
40 endef
41
42 CONFIGURE_ARGS += \
43 --includedir=$(PKG_BUILD_DIR)/. \
44 --oldincludedir=$(PKG_BUILD_DIR)/. \
45 --enable-pop \
46 --enable-imap \
47 --with-ssl \
48 --without-idn \
49 --disable-doc
50
51 define Package/mutt/install
52 $(INSTALL_DIR) $(1)/usr/bin
53 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mutt $(1)/usr/bin/
54 endef
55
56 $(eval $(call BuildPackage,mutt))