1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Fast and easy to use command line email client based on Pine."
10 HOMEPAGE="http://www.washington.edu/alpine/
11 http://staff.washington.edu/chappa/alpine/"
12 SRC_URI="ftp://ftp.cac.washington.edu/${PN}/${P}.tar.bz2
14 http://dev.gentooexperimental.org/~tommy/distfiles/chappa-${P}.patch.gz )"
15 # When the patch is not needed anymore inform Tommy[D] so he can
16 # remove the patch from his home directory.
20 KEYWORDS="~amd64 ~x86"
21 IUSE="+chappa +ipv6 kerberos ldap +nls +mime +ssl tcl +threads"
23 DEPEND="sys-libs/ncurses
24 ssl? ( dev-libs/openssl )
25 ldap? ( net-nds/openldap )
26 kerberos? ( app-crypt/mit-krb5 )"
33 epatch "${DISTDIR}/chappa-${P}.patch.gz"
39 $( use_with kerberos krb5 ) \
41 $( use_with mime smime ) \
44 $( use_with threads pthread )
46 emake || die "Build failed."
50 emake DESTDIR="${D}" install || die "Installation failed"
51 dodoc README NOTICE || die "dodoc failed."
55 elog "For additional functionality you may want to"
56 elog "install some of the programs listed below"
57 elog " * aspell for spell checking"
58 elog " * topal for encryption and signing"