diff --git a/srcpkgs/weechat/template b/srcpkgs/weechat/template
index 45ae1968955..6584a9373ea 100644
--- a/srcpkgs/weechat/template
+++ b/srcpkgs/weechat/template
@@ -1,6 +1,6 @@
 # Template file for 'weechat'
 pkgname=weechat
-version=4.0.3
+version=4.0.4
 revision=1
 build_style=cmake
 configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON
@@ -18,7 +18,7 @@ license="GPL-3.0-or-later"
 homepage="https://www.weechat.org"
 changelog="https://raw.githubusercontent.com/weechat/weechat/master/ChangeLog.adoc"
 distfiles="https://www.weechat.org/files/src/weechat-${version}.tar.xz"
-checksum=880dbdce8e73b3f4802a082c4a1a7c61943dbc5867d7a95695e4e463c6535a92
+checksum=ae5f4979b5ada0339b84e741d5f7e481ee91e3fecd40a09907b64751829eb6f6
 lib32disabled=yes
 
 subpackages="weechat-aspell weechat-devel weechat-ruby weechat-python weechat-tcl weechat-lua weechat-perl"