# Template file for 'mate-screensaver'
pkgname=mate-screensaver
version=1.10.2
revision=2
build_pie=yes
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-systemd"
hostmakedepends="pkg-config intltool itstool"
makedepends="gtk+-devel dbus-glib-devel libnotify-devel libXScrnSaver-devel
 libmatekbd-devel mate-menus-devel mate-desktop-devel pam-devel"
depends="mate-desktop mate-session-manager"
short_desc="Screensaver for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=19b79dc4b4b5a6dcd407daf5b8f310b6da8210445a6271d265458e79a58d539d

post_install() {
	vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
}
