vcpkg_from_github(
  OUT_SOURCE_PATH SOURCE_PATH
  REPO Nicoshev/rapidhash
  REF "rapidhash_v${VERSION}"
  SHA512 c7097263721c01b7218358ac535625008fe6e67d274d50857472ffc7fa49849fbd1b3bb766611f1af17182b4bfa7e1ce0f3a00df5b4254c3b9040d9467f29024
  HEAD_REF master
)

file(COPY "${SOURCE_PATH}/rapidhash.h" DESTINATION ${CURRENT_PACKAGES_DIR}/include)

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
