# -*- 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 87640 2011-11-29 23:39:05Z devans@macports.org $

PortSystem 1.0

name		balsa
version		2.4.11
license         GPL-2+
description	GNOME e-mail 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    ${homepage}

checksums       md5     915c622b6385aa4f83d5eee8f31ee8e8 \
                sha1    78d780d200aa1f852c6037d7a3ba3380d9c18cb9 \
                rmd160  bb9e9b98ed1733b3cb7920271d2f31da0b1eda05

depends_build   port:pkgconfig \
                port:libtool \
                port:intltool \
                port:gnome-doc-utils

depends_lib     port:libgnomeui \
                port:gmime \
                port:gpgme \
                port:gtksourceview2 \
                port:gtkspell2 \
                port:libcanberra \
                port:libesmtp \
                port:libgtkhtml3 \
                port:libnotify \
                port:libunique \
                port:openssl \
                port:sqlite3

configure.args	--with-gpgme \
                --with-canberra \
                --with-gtkspell \
                --with-gtksourceview=2 \
                --with-ssl \
                --with-unique \
                --with-sqlite \
                --with-esmtp \
                --without-nm \
                --disable-silent-rules

configure.cflags-append -D_DARWIN_C_SOURCE

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