vcpkg_from_github(
  OUT_SOURCE_PATH SOURCE_PATH
  REPO okdshin/PicoSHA2
  REF "v${VERSION}"
  SHA512 e6315f9f3a00197dcdd1cf459d956048e5c15f40d158537a061181d43e02ee46b979b650a05e748f61b85149f32f77625dacb869402dc243bdca71c5d2a0cc6d
  HEAD_REF master
)

file(INSTALL "${SOURCE_PATH}/picosha2.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
