# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=bitlbee-mastodon
pkgver=1.4.5
pkgrel=0
pkgdesc="Mastodon plugin for Bitlbee"
url="https://alexschroeder.ch/cgit/bitlbee-mastodon"
arch="all"
license="LGPL-2.1-only"
depends="bitlbee"
makedepends="bitlbee-dev autoconf automake libtool"
source="bitlbee-mastodon-$pkgver.tar.gz::https://github.com/kensanata/bitlbee-mastodon/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="
19a83e17afe3ac3c0b4d7ac87b30521e5fe54ea1f498e55373156112abac12ed4c84a80023c4be0c31f9b668325e89ec03906d90d91379a3a9874a608ce41307  bitlbee-mastodon-1.4.5.tar.gz
"
