Peel, seed, and dice melon. In a medium sauce pan mix 1/2 the sugar with melon and cook until melon is tender and soft; mash melon. Mix flour with remaining sugar; add beaten egg yolks and butter. Mix in mashed melon. Pour into pie shell and cover with meringue made from the egg whites. Brown meringue in oven. Cool pie.