package libmd {
	description = "Message Digest functions from BSD systems";
	website = "https://www.hadrons.org/software/libmd";
	anitya = 15525;

	version# = "1.2.0";
	source = remoteGit {
		url = "https://git.hadrons.org/git/libmd.git";
		tag = version;
		checksum = "1rJ6joAO0wwMZvSfnRNkc1MOhywyAq7SM8VmF92NvDtv7Qdl1LRbjm5fg_DFFtGj";
	};

	exec = make {
		generate = "echo '" + version + "' > .dist-version && ./autogen";
		preMake = "\ninstall -D /usr/src/libmd/src/helper.c src/helper.c\n";
	};

	inputs = [
		automake,
		libtool,
	];
}
