# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name		balsa
version		2.0.17
description	Gnome email client
long_description        Balsa is an e-mail client for GNOME, highly \
			configurable and incorporating all the features \
			you would expect in a robust mail client.
maintainers	nomaintainer
categories	gnome mail
platforms	darwin
homepage	http://pawsa.fedorapeople.org/balsa/

use_bzip2	yes

master_sites    http://balsa.gnome.org/
checksums	md5 851db68728ed9adea615eb2f249fa1ee
depends_lib     lib:libgtkhtml-2:libgtkhtml \
		lib:libiconv:libiconv lib:libaspell:aspell

patchfiles	patch_charset.h patch_charset.c patch_misc.c

configure.args	--without-esmtp --mandir=${prefix}/share/man \
		--with-iconv=${prefix}

configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
