# Copyright 2026 Robert Günzler
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cargo

DESCRIPTION="Control your IDÅSEN desk via Bluetooth"
HOMEPAGE="https://github.com/aklajnert/idasen-control"

inherit git-r3
EGIT_REPO_URI="https://github.com/aklajnert/idasen-control"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="network-sandbox"

RDEPEND="
	net-wireless/bluez
"

src_unpack() {
	git-r3_src_unpack
	cargo_live_src_unpack
}

pkg_postinst() {
	elog ""
	elog "Before interacting with the desk becomes possible you first have to"
	elog "pair it manually."
	elog ""
}