# Template file for 'mate-power-manager'
pkgname=mate-power-manager
version=1.10.1
revision=2
patch_args="-Np1"
build_pie=yes
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --with-gtk=2.0 --disable-schemas-compile"
hostmakedepends="pkg-config intltool itstool libtool glib-devel dbus-glib-devel
 mate-common mate-desktop-devel"
makedepends="gtk+-devel dbus-glib-devel libnotify-devel libunique1-devel
 upower0-devel libcanberra-devel libgnome-keyring-devel libmate-panel-devel"
depends="dconf"
short_desc="Power management tool for the MATE desktop"
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=f5cd42defcaa004591ecdfdcdd476de281d0d8eb4d4797a3667a7814b4d40343

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
