Homer basketball player collapses in gym, later dies