# Template file for 'cinnamon-session'
pkgname=cinnamon-session
version=2.0.6
revision=1
short_desc="The Cinnamon session handler"
build_style=gnu-configure
configure_args=" --disable-static --disable-schemas-compile
 --enable-systemd --disable-gconf"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
 gettext-devel intltool which"
makedepends="gtk+3-devel dbus-devel upower-devel json-glib-devel libSM-devel
 systemd-devel pangox-compat-devel cinnamon-desktop-devel desktop-file-utils
 hicolor-icon-theme"
depends="cinnamon-desktop desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"

do_fetch() {
	git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}

pre_configure() {
	./autogen.sh
}
