20dc3ea576dd49f7edd0553568f1d7fca37a0ec8
[packages.git] / mail / mutt / Makefile
1 #
2 # Copyright (C) 2006-2008 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.20
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=@SF/mutt
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_MD5SUM:=027cdd9959203de0c3c64149a7ee351c
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/mutt
21   SECTION:=mail
22   CATEGORY:=Mail
23   DEPENDS:=+libopenssl +libncurses
24   TITLE:=Console mail client
25   URL:=http://www.mutt.org/
26 endef
27
28 define Package/mutt/description
29         Mutt is a small but very powerful text-based mail client for Unix
30         operating systems.
31 endef
32
33 CONFIGURE_ARGS += \
34         --includedir=$(PKG_BUILD_DIR)/. \
35         --oldincludedir=$(PKG_BUILD_DIR)/. \
36         --enable-pop \
37         --enable-imap \
38         --with-ssl
39
40 define Package/mutt/install
41         $(INSTALL_DIR) $(1)/usr/bin
42         $(INSTALL_BIN) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,mutt))