cask "font-alegreya" do
  version "2.008"
  sha256 "44dacbe3c4b60c203b1d60f0a55ebf6c139823f83fd234f9b078ece7cb15676e"

  url "https://github.com/huertatipografica/Alegreya/archive/refs/tags/v#{version}.tar.gz"
  name "Alegreya"
  homepage "https://github.com/huertatipografica/Alegreya"

  font "Alegreya-#{version}/fonts/otf/Alegreya-Black.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-BlackItalic.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-Bold.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-BoldItalic.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-ExtraBold.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-ExtraBoldItalic.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-Italic.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-Medium.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-MediumItalic.otf"
  font "Alegreya-#{version}/fonts/otf/Alegreya-Regular.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-Black.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-BlackItalic.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-Bold.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-BoldItalic.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-ExtraBold.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-ExtraBoldItalic.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-Italic.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-Medium.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-MediumItalic.otf"
  font "Alegreya-#{version}/fonts/otf/AlegreyaSC-Regular.otf"

  # No zap stanza required
end
