# Template file for 'gmime'
pkgname=gmime
version=2.6.15
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-mono --enable-smime"
makedepends="pkg-config intltool glib-devel gpgme-devel"
short_desc="GNOME Core mime parsing library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/gmime/2.6/gmime-${version}.tar.xz"
checksum=b4c2a0b99b82063387cd750a38421ebaa0636f339e67984a84371bcb697dc99a

gmime-devel_package() {
	depends="glib-devel zlib-devel gmime-${version}_${revision}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
	}
}

gmime_package() {
	pkg_install() {
		vmove usr
	}
}
