# Template file for 'muffin'
pkgname=muffin
version=2.0.5
revision=2
short_desc="Cinnamon window manager based on Mutter"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
 gettext-devel intltool which gnome-doc-utils git"
makedepends="clutter-devel startup-notification-devel libcanberra-devel
 cinnamon-desktop-devel libXinerama-devel libSM-devel dconf zenity"
depends="dconf zenity"
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
}

muffin-devel_package() {
	depends="libX11-devel gtk+3-devel cinnamon-desktop-devel clutter-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove "usr/lib/*.so"
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
