diff --git a/srcpkgs/unibilium/template b/srcpkgs/unibilium/template
index e70d3a0dc7d..a290410460a 100644
--- a/srcpkgs/unibilium/template
+++ b/srcpkgs/unibilium/template
@@ -1,25 +1,20 @@
 # Template file for 'unibilium'
 pkgname=unibilium
-version=2.1.1
+version=2.1.2
 revision=1
-build_style=gnu-makefile
+build_style=gnu-configure
 make_check_target="test"
-hostmakedepends="libtool perl"
+hostmakedepends="automake libtool perl"
 short_desc="Simple, self-contained terminfo library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/neovim/unibilium"
-changelog="https://github.com/neovim/unibilium/raw/master/Changes"
-distfiles="https://github.com/neovim/${pkgname}/archive/v${version}.tar.gz"
-checksum=6f0ee21c8605340cfbb458cbd195b4d074e6d16dd0c0e12f2627ca773f3cabf1
+changelog="https://raw.githubusercontent.com/neovim/unibilium/refs/heads/master/Changes"
+distfiles="https://github.com/neovim/unibilium/archive/v${version}.tar.gz"
+checksum=370ecb07fbbc20d91d1b350c55f1c806b06bf86797e164081ccc977fc9b3af7a
 
-do_build() {
-	if [ "$CROSS_BUILD" ]; then
-		cp /usr/bin/libtool .
-		vsed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool
-		vsed -e 's,libtool,./libtool,g' -i Makefile
-	fi
-	make ${makejobs}
+pre_configure() {
+	autoreconf -fi
 }
 
 unibilium-devel_package() {