diff --git a/srcpkgs/xcb-util-xrm/template b/srcpkgs/xcb-util-xrm/template
index 5c276fc19cb..5d6c330f634 100644
--- a/srcpkgs/xcb-util-xrm/template
+++ b/srcpkgs/xcb-util-xrm/template
@@ -1,16 +1,16 @@
 # Template file for 'xcb-util-xrm'
 pkgname=xcb-util-xrm
-version=1.0
+version=1.2
 revision=1
 build_style=gnu-configure
 hostmakedepends="pkg-config m4"
-makedepends="xcb-util-devel"
+makedepends="xcb-util-devel libX11-devel"
 short_desc="XCB utility functions for the X resource manager"
 maintainer="Michael Gehring <mg@ebfe.org>"
 license="MIT"
 homepage="https://github.com/Airblader/xcb-util-xrm"
 distfiles="https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/xcb-util-xrm-${version}.tar.gz"
-checksum=f6fc70222e5faf6f20e8f87e416859fef664c80ef4381692a0cc6d028fc79216
+checksum=c4a1d64d4a6973c649e3b6e3c418242f11e39c65d4d227d555d48f6df0558567
 
 post_install() {
 	vlicense COPYING