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

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
	}
}
