R2PM_BEGIN

R2PM_DESC "[syspkg-r2pipe] r2pipe API for Go"

R2PM_INSTALL() {
	go get github.com/radare/r2pipe-go || exit 1
	echo "r2pipe-go installed"
}

R2PM_UNINSTALL() {
	go clean -i github.com/radare/r2pipe-go || exit 1
	rm -rf "$GOPATH/src/github.com/radare/r2pipe-go"
}
