# Template file for 'evolution'
pkgname=evolution
version=3.16.3
revision=1
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 --disable-gtkspell --disable-autoar --disable-libcryptui"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils gobject-introspection"
makedepends="
 libgdata-devel webkitgtk-devel evolution-data-server-devel
 GConf-devel clutter-gtk-devel libcanberra-devel
 gtkhtml-devel libsoup-gnome-devel gnome-desktop-devel
 libnotify-devel gstreamer1-devel libgweather-devel
 NetworkManager-devel enchant-devel iso-codes"
depends="gtkhtml>=4.6 gnome-keyring gnome-icon-theme hicolor-icon-theme desktop-file-utils iso-codes"
short_desc="Integrated mail, addressbook and calendaring for GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=cdc25d9c0c7749d9049d480a8fcde870b1991523bf7009ba101990df543207d6

evolution-devel_package() {
	depends="GConf-devel gtkhtml-devel>=4.6.0 evolution-data-server-devel
	 gnome-desktop-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}
