# Template file for 'evolution'
pkgname=evolution
version=3.8.2
revision=2
build_style=gnu-configure
configure_args="--disable-pst-import --with-openldap --disable-bogofilter
 --with-krb5=/usr --disable-schemas-compile --disable-static --disable-spamassassin
 --disable-text-highlight"
hostmakedepends="which pkg-config intltool itstool gnome-doc-utils
 gobject-introspection"
makedepends="libgdata-devel>=0.13 webkitgtk-devel evolution-data-server-devel>=3.8
 GConf-devel clutter-gtk-devel>=1.4.4 libcanberra-devel
 gtkhtml-devel>=4.6.0 libsoup-gnome-devel gnome-desktop-devel>=3.8
 libnotify-devel gstreamer1-devel libgweather-devel>=3.8
 NetworkManager-devel enchant-devel iso-codes"
short_desc="Integrated mail, addressbook and calendaring for GNOME"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=6333864015e83c2120ffe7adb262ac3055ac82995a915071440be96e08a73112

post_install() {
	# Remove devel stuff, not interested.
	rm -rf ${DESTDIR}/usr/include
	rm -rf ${DESTDIR}/usr/lib/pkgconfig
	rm -rf ${DESTDIR}/usr/share/gtk-doc
}

evolution_package() {
	depends="gtkhtml>=4.6 hicolor-icon-theme desktop-file-utils iso-codes"
	pkg_install() {
		vmove all
	}
}
