1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="a mail handling library"
6 HOMEPAGE="http://libmail.sourceforge.net"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12 IUSE="apop debug gnutls profile sasl"
14 DEPEND="gnutls? ( >=net-libs/gnutls-2 )
15 sasl? ( >=dev-libs/cyrus-sasl-2 )"
21 $(use_enable debug ) \
22 $(use_enable gnutls tls) \
23 $(use_enable profile ) \
25 emake || die "emake failed"
29 emake DESTDIR="${D}" install || die "Install failed"
30 dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"