cask "upm" do
  version "1.15.1"
  sha256 "eea01028ff6bf4bbcd857dcf9191905a59a6e7c9ea3914c35ca0275417724cef"

  url "https://downloads.sourceforge.net/upm/upm-#{version}/upm-mac-#{version}.tar.gz"
  name "Universal Password Manager"
  desc "Password manager"
  homepage "https://upm.sourceforge.net/"

  app "upm-mac-#{version}/UPM.app"

  zap trash: "~/Library/Saved Application State/com._17od.upm.gui.MainWindow.savedState"
end
