# Contributor: Bart Ribbers <bribbers@disroot.org>
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=purple-mm-sms
pkgver=0.1.7
pkgrel=2
pkgdesc="A libpurple plugin for sending and receiving SMS via Modemmanager"
arch="all"
url="https://source.puri.sm/Librem5/purple-mm-sms"
license="GPL-2.0-or-later"
depends="modemmanager"
makedepends="
	modemmanager-dev
	pidgin-dev
	"
source="https://source.puri.sm/Librem5/purple-mm-sms/-/archive/v$pkgver/purple-mm-sms-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # No test suite

build() {
	make
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="438482ca8a58b71401d0077e4a9c1b845d66cd49ba2282c9c113bcf241efc59b7140f7c2c07dcc448b379c598a5f743bedd5701deb533e919348fc41e7e4c754  purple-mm-sms-v0.1.7.tar.gz"
