# Template file for 'lite-xl'
pkgname=lite-xl
version=2.1.5
revision=2
archs="x86_64* i686* aarch64* arm*" # garbage software
build_style=meson
configure_args="-Duse_system_lua=true -Drenderer=true"
hostmakedepends="pkg-config lua54"
makedepends="freetype-devel lua54-devel pcre2-devel SDL2-devel"
short_desc="Lightweight text editor written in Lua"
maintainer="Dakota Richline <drichline@protonmail.com>"
license="MIT"
homepage="https://lite-xl.com/"
changelog="https://github.com/lite-xl/lite-xl/raw/master/changelog.md"
distfiles="https://github.com/lite-xl/lite-xl/archive/refs/tags/v${version}.tar.gz"
checksum=b1a4dc1ad8ed8e0c822a4381131a21db4f81edae84259da556a4435d0be12de9

post_install() {
	vlicense LICENSE
}
