# Template file for 'evolution'
pkgname=evolution
version=3.6.0
revision=1
build_style=gnu-configure
configure_args="--disable-pst-import --with-openldap
--with-krb5=/usr --disable-schemas-compile --disable-static"
makedepends="which pkg-config intltool gnome-doc-utils libgdata-devel>=0.13
gtk+3-devel>=3.6.0_2 webkit-gtk3-devel evolution-data-server-devel>=3.6.0
libical-devel GConf-devel mx-devel clutter-gtk-devel>=1.3.2 libcanberra-devel
gtkhtml-devel>=4.6.0 nss-devel clutter-devel>=1.12 json-glib-devel libXfixes-devel
sqlite-devel libsoup-devel libxml2-devel gnome-desktop-devel>=3.6.0 libldap-devel
libsoup-gnome-devel libnotify-devel gnome-online-accounts-devel>=3.6.0
gstreamer1-devel libgweather-devel>=3.6.0 mit-krb5-devel NetworkManager-devel
gsettings-desktop-schemas-devel>=3.6.0 enchant-devel itstool psmisc"
depends="hicolor-icon-theme desktop-file-utils"
fulldepends="gsettings-desktop-schemas>=3.6.0 iso-codes"
short_desc="Integrated mail, addressbook and calendaring"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/3.6/$pkgname-$version.tar.xz"
checksum=6163ef56a22ca7c605a89d774851c9988d7840a4dc5c73c546308e5380cfe7b4
long_desc="
 Evolution provides integrated mail, addressbook and calendaring functionality
 to users of the GNOME desktop."

gtk_iconcache_dirs="/usr/share/icons/hicolor"

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
}
