--- /dev/null
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_realname=zak-autho-gui
+pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
+pkgver=0.0.5
+pkgrel=1
+arch=('any')
+pkgdesc="libautoz graphic interface (mingw-w64)"
+depends=("${MINGW_PACKAGE_PREFIX}-libgdaex"
+ "${MINGW_PACKAGE_PREFIX}-libzakautho")
+makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
+ "gtk-doc"
+ "${MINGW_PACKAGE_PREFIX}-gnome-common")
+options=('strip' 'staticlibs')
+license=("LGPL 2.1")
+url="http://saetta.ns0.it/"
+source=(zak-autho-gui::git+http://saetta.ns0.it/git/zakautho/gui#branch=develop)
+sha256sums=('SKIP')
+
+prepare() {
+ cd ${_realname}
+}
+
+build() {
+ mkdir -p build-${MINGW_CHOST}
+ cd build-${MINGW_CHOST}
+
+ ../${_realname}/autogen.sh \
+ --host=${MINGW_CHOST} \
+ --target=${MINGW_CHOST} \
+ --build=${MINGW_CHOST} \
+ --prefix=${MINGW_PREFIX} \
+ --libexecdir=${MINGW_PREFIX}/lib
+ make
+}
+
+package() {
+ cd "$srcdir/build-${MINGW_CHOST}"
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
+}