# Template file for 'libsecret'
pkgname=libsecret
version=0.15
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
makedepends="vala-devel>=0.20 libgcrypt-devel"
short_desc="GObject based library for accessing the Secret Service API"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/0.15/$pkgname-${version}.tar.xz"
checksum=33e728b843efbe099483376ff5a3469260ee4b6ce035c7730909ac3793cb0fb8

libsecret-devel_package() {
	depends="libglib-devel ${sourcepkg}-${version}_${revision}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/share/gir-1.0
		vmove usr/share/vala
	}
}

libsecret_package() {
	pkg_install() {
		vmove usr
	}
}
