Ruined listed castle offers restoration opportunity