--- /dev/null
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_realname=corebird
+pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
+pkgver=1.0
+pkgrel=1
+arch=('any')
+pkgdesc="Native Gtk+ Twitter Client (mingw-w64)"
+options=(strip staticlibs)
+depends=("${MINGW_PACKAGE_PREFIX}-gtk3"
+ "${MINGW_PACKAGE_PREFIX}-gsettings-desktop-schemas"
+ "${MINGW_PACKAGE_PREFIX}-librest
+ "${MINGW_PACKAGE_PREFIX}-libsoup"
+ "${MINGW_PACKAGE_PREFIX}-libgee"
+ "${MINGW_PACKAGE_PREFIX}-json-glib"
+ "${MINGW_PACKAGE_PREFIX}-sqlite3")
+makedepends=("${MINGW_PACKAGE_PREFIX}-pkg-config"
+ "${MINGW_PACKAGE_PREFIX}-vala"
+ "${MINGW_PACKAGE_PREFIX}-gobject-introspection")
+license=("GPL 3")
+url="http://corebird.baedert.org/"
+install=${_realname}-${CARCH}.install
+source=(https://github.com/baedert/${_realname}/archive/${pkgver}.tar.gz
+ 001-win.patch)
+sha256sums=('0ca4ca20b0281b2901382810ef8bd1682bb896c3915ad3bea3f2a41461118001'
+ 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')
+
+prepare() {
+ cd "${srcdir}"/${_realname}-${pkgver}
+
+ #patch -b -V simple -p1 -i ${srcdir}/001-win.patch
+
+ AUTOPOINT='intltoolize --automake --copy' \
+ autoreconf -f -i
+}
+
+build() {
+ mkdir -p build-${MINGW_CHOST}
+ cd build-${MINGW_CHOST}
+
+ ../${_realname}-${pkgver}/configure \
+ --host=${MINGW_CHOST} \
+ --target=${MINGW_CHOST} \
+ --build=${MINGW_CHOST} \
+ --prefix=${MINGW_PREFIX} \
+ --libexecdir=${MINGW_PREFIX}/lib \
+ --disable-video
+
+ make
+}
+
+package() {
+ cd "$srcdir/build-${MINGW_CHOST}"
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
+}