#!/bin/bash
#
# Copyright 2004-2007 Dagmar d'Surreal <rivyqntzne@tznvy.pbz>
# Available under the terms of the GNU GPL.
#

NAME="evolution"
VERSION="3.6.1"
REVISION="1"
PKG_SOURCEURL='ftp://ftp.gnome.org/mirror/gnome.org/sources/${NAME}/${VER_MAJ}.${VER_MIN}/${NAME}-${VERSION}.tar.xz'

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
prepare
analyzesource
configure --enable-nss=yes \
	--disable-pst-import \
	--enable-smime=yes \
	--with-krb5=$PKG_PREFIX \
	--with-openldap \
	--enable-plugins=all \
	--enable-contact-maps=yes \
	--with-sub-version=\"Dropline GNOME\"

make
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
