# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 58467 2009-09-29 05:40:53Z snc@macports.org $

PortSystem 1.0

name			msmtp
version			1.4.18
categories		mail
platforms		darwin
maintainers		mww
description		SMTP client that can be used as an SMTP plugin for Mutt
long_description	msmtp is an SMTP client that can be used as an SMTP \
				plugin for Mutt and probably other MUAs (mail user \
				agents). It forwards mails to an SMTP server which \
				does the delivery. To use this program, create a \
				configuration file with your mail account(s) and tell \
				your MUA to call msmtp instead of /usr/sbin/sendmail.

homepage		http://msmtp.sourceforge.net/
master_sites	sourceforge
checksums		sha1 f7b42a2a6f4c9c21687dde86dfa827d728a08d76
use_bzip2		yes

depends_lib		port:openssl port:gettext port:gnutls port:libgcrypt \
				port:libgpg-error port:libgsasl port:libiconv port:libtasn1


configure.args	--mandir=${prefix}/share/man \
				--infodir=${prefix}/share/info \
				--enable-gsasl

platform macosx {
   configure.args-append   --with-macosx-keyring
}

