PORTNAME=	codebook
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3.42
PORTREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	madpilot@FreeBSD.org
COMMENT=	Spell checker lsp for code
WWW=		https://github.com/blopker/codebook

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_aarch64=	fails ti build: unknown field mc_gpregs

LIB_DEPENDS=	libgit2.so:devel/libgit2 \
		libssh2.so:security/libssh2

USES=		cargo ssl
USE_GITHUB=	yes
GH_ACCOUNT=	blopker

CARGO_INSTALL_PATH=	crates/codebook-lsp

PLIST_FILES=	bin/codebook-lsp

.include <bsd.port.mk>
