# Template file for 'muffin'
pkgname=muffin
version=2.6.1
revision=1
short_desc="Cinnamon window manager based on Mutter"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile
 --enable-compile-warnings=minimum ac_cv_path_ZENITY=/usr/bin/zenity"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
 gettext-devel intltool glib-devel gnome-doc-utils gtk-doc"
makedepends="clutter-devel startup-notification-devel libcanberra-devel
 cinnamon-desktop-devel libXinerama-devel libSM-devel"
depends="dconf zenity"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=0772ad6caace2f4570e7d3a0cbc8a6ef5f65be92c6a30cc95a59ed8bba6b5f74

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

muffin-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove "usr/lib/*.so"
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
