# $Id: Portfile 56486 2009-08-28 17:30:21Z toby@macports.org $

PortSystem 1.0

name			mailsync
version			5.2.1
revision		2
categories		mail
platforms		darwin
maintainers		nomaintainer
description		keeps collection of mailboxes in sync
long_description	Mailsync is a way of keeping a collection of mailboxes \
					synchronized. The mailboxes may be on the local filesystem \
					or on an IMAP server.

homepage		http://mailsync.sourceforge.net/
master_sites	sourceforge
distname		mailsync_${version}.orig
checksums		md5 67c9f68575756b76581cf9be74608aa5

depends_lib		port:cclient \
				port:openssl

worksrcdir		${name}-${version}

configure.args	--with-c-client=${prefix} --with-krb5=${prefix} \
				--with-openssl=${prefix} \
				--mandir=${prefix}/share/man
configure.cppflags	"-I${prefix}/include/c-client"

patchfiles		patch-configure
